package com.share.domain.rebate.repository;

import com.share.domain.rebate.model.aggregate.BehaviorRebateAggregate;
import com.share.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import com.share.domain.rebate.model.valobj.BehaviorTypeVo;
import com.share.domain.rebate.model.valobj.DailyBehaviorRebateVo;

import java.util.List;

/**
 * 行为返利服务仓储接口
 */
public interface IBehaviorRebateRepository {

    void saveUserRebateRecord(String userId, List<BehaviorRebateAggregate> behaviorRebateAggregates);

    List<DailyBehaviorRebateVo> queryDailyBehaviorRebateConfig(BehaviorTypeVo behaviorTypeVo);

    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
